/*

 */
package portalsprototype;

import java.util.ArrayList;
import java.util.Random;

/**
 *
 * @author Oscar
 */
public class OpenWindows {

    private ArrayList<Window> windows = new ArrayList<Window>();
    private Random rand = new Random();

    public OpenWindows() {

        windows.add(new Window("Gary Spivey", "professional weirdo", "images/gary-spivey.jpg"));
        windows.add(new Window("Ant Eater", "(fuck you)", "images/ant-eater.jpg"));
        windows.add(new Window("Creepy Kid 1", "no comment", "images/creepykid1.jpg"));
        windows.add(new Window("Creepy Kid 2", "no comment", "images/creepykid2.jpg"));
        windows.add(new Window("Creepy Kid 3", "no comment", "images/creepykid3.jpg"));
        windows.add(new Window("fat cat", "a fat cat on its back", "images/fat-cat-pictures-001.jpg"));
        windows.add(new Window("Squirrel 1", "a squirrel", "images/squirrel1.jpg"));
        windows.add(new Window("Squirrel 2", "a squirrel", "images/squirrel2.jpg"));
        windows.add(new Window("Squirrel 3", "a squirrel", "images/squirrel3.jpg"));
    }
    
    public Window getRandomWindow() {
        return windows.get(rand.nextInt(windows.size()));
    }
}
